/**
 * 
 */
package grimbo.goodwinfooty.service.model;

import java.io.Serializable;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

public class Player implements Serializable {
    private static final long serialVersionUID = -6530861139424337601L;
    private int id;
    private int inheritedDebt;
    private int otherPayments;
    private String name;

    public int getId() {
        return id;
    }

    public int getInheritedDebt() {
        return inheritedDebt;
    }

    public String getName() {
        return name;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setInheritedDebt(int inheritedDebt) {
        this.inheritedDebt = inheritedDebt;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setOtherPayments(int otherPayments) {
        this.otherPayments = otherPayments;
    }

    public int getOtherPayments() {
        return otherPayments;
    }

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).append("inheritedDebt",
                inheritedDebt).toString();
    }
}